package model

import (
	"gorm.io/gorm"
	"time"
)

type CollegeNews struct {
	gorm.Model

	NewsTitle   string    `json:"newsTitle" gorm:"not null"`
	NewsContent string    `json:"newsContent" gorm:"not null"`
	NewsDate    time.Time `json:"newsDate" gorm:"not null"`
	ViewCounts  int64     `json:"viewCounts" gorm:"not null"`
}
